﻿<UserControl x:Class="Levfier.GUI.EditorControls.Parameters.ParameterPropertyEditorView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Levfier.GUI.EditorControls.Parameters"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <!--Dark Theme-->
                <ResourceDictionary Source="../../../Themes/Metro/Dark/MetroDark.MSControls.Core.Implicit.xaml" />
                <!--<ResourceDictionary Source="../Dark/MetroDark.MSControls.Toolkit.Implicit.xaml" />-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Foreground="{DynamicResource Brush03}">Target</Label>
            <ComboBox x:Name="targetParameter" DropDownClosed="TargetParameterName_DropDownClosed" Grid.Column="1"/>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Foreground="{DynamicResource Brush03}">Value Style</Label>
            <ComboBox x:Name="parameterStyle" DropDownClosed="TargetParameterName_DropDownClosed" Grid.Column="1">
                <ComboBoxItem>absolute</ComboBoxItem>
                <ComboBoxItem>%</ComboBoxItem>
                <ComboBoxItem>dB</ComboBoxItem>
            </ComboBox>
        </Grid>
        <local:ParameterSlider x:Name="currentValue"></local:ParameterSlider>
        <local:ParameterSlider x:Name="maxValue"></local:ParameterSlider>
        <local:ParameterSlider x:Name="minValue"></local:ParameterSlider>
    </StackPanel>
</UserControl>
